function makeFn() {
  let msg = "hello, world";
  return function () {
    console.log(msg);
  }
}
// 测试
let fn = makeFn();
fn();
makeFn()();